#import "NGLocation.h"
#import "Status.h"
#import "Request.h"
#import "NGLocationUpdatedDelegate.h"

@class NGArrayOfDeviceData;

/**
 * 
 * @author NetGis
 * 
 */

@interface SetLocationRequest : Request {
    NGLocation * location;
    NSString * deviceCode;
    Status status;
    NSString * grName;
    NSMutableDictionary * nameValue;

    /**
     * url'ye eklemek için
     * //TODO daha sonra kaldırılacak
     */
    NSString * sessionId;
    id<NGLocationUpdatedDelegate> locationUpdatedDelegate;
}

@property(nonatomic, retain) NSString * grName;
@property(nonatomic, retain) NSString * sessionId;
@property(nonatomic, retain) NGLocation *location;
@property(nonatomic, retain) NSString * deviceCode;
@property(readwrite) Status status;
@property(nonatomic, retain) NSMutableDictionary * nameValue;
@property(nonatomic, assign) id<NGLocationUpdatedDelegate> locationUpdatedDelegate;

- (id) initWithLocation:(NGLocation *)location;
- (id) init;
- (void) processCommands:(NSMutableArray *)commands;

@end
